package com.java.base.exercise;

/**
 * @Author RenPu
 * @Date 2023/12/12 10:53
 * @Version 1.0
 * @Description:
 **/
public class finalDemo {
    final int x ;
    int y;
    public finalDemo() {
        this.x = 1;
        this.y = x;
    }

static void reader(){

    finalDemo testFinal = new finalDemo();

    System.out.println("获取结果值为：：：："+testFinal.x+"=========="+testFinal.y);

}

    public static void main(String[] args) {
        finalDemo.reader();
    }



}
